package org.example.erp.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.erp.domain.Equipment;
import org.example.erp.service.EquipmentService;
import org.example.erp.mapper.EquipmentMapper;
import org.springframework.stereotype.Service;

/**
* @author dell
* @description 针对表【equipment】的数据库操作Service实现
* @createDate 2024-11-05 15:36:41
*/
@Service
public class EquipmentServiceImpl extends ServiceImpl<EquipmentMapper, Equipment>
    implements EquipmentService{
    public IPage<Equipment> Find(Integer currentPage, Integer pageSize, String deviceNo, String deviceName){
        Page<Equipment> page = new Page<>(currentPage, pageSize);
        return baseMapper.Find(page,deviceNo, deviceName);
    }
}




